<mat-card>
  <mat-card-header>
    <mat-card-title>
      <h1>{{title}}</h1>
    </mat-card-title>
  </mat-card-header>

  <mat-card-content class="issue-editor-container">
    <mat-form-field>
      <input matInput placeholder="标题" [(ngModel)]="issue.title">
    </mat-form-field>
    <mat-form-field>
      <textarea matInput placeholder="内容" [(ngModel)]="issue.body"></textarea>
    </mat-form-field>
  </mat-card-content>
  <mat-card-actions>
    <span class="spacer"></span>
    <button mat-raised-button color="primary" (click)="saveIssue()">保存</button>
  </mat-card-actions>
</mat-card>
